package com.kws.merchant.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.kws.merchant.domain.OperationTicketFile;
import com.kws.merchant.domain.OperationTicketMember;
import com.kws.merchant.domain.OperationTicketTask;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author :yxy
 * @date : 2024/10/28
 */
@Data
@ApiModel("工作票输入信息")
public class WorkPo {
    @ApiModelProperty("工作票类型")
    private Integer workType;

    @ApiModelProperty("工作负责人")
    private Long workPrincipal;

    @ApiModelProperty("工作班成员")
    private List<OperationTicketMember> workMembers;

    @ApiModelProperty("任务")
    private List<OperationTicketTask> taskList;

    @ApiModelProperty("计划工作时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    private String workTime;

    @ApiModelProperty("安全措施")
    private String safetyPrecautions;

}
